package com.gxa.entity;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("药品信息的实体")
public class SysDrug {

  @ApiModelProperty(name = "id",notes = "主键id",dataType = "Integer",required = false)
  private Integer id;
  @ApiModelProperty(name = "id",notes = "药品类型id",dataType = "Integer",required = false)
  private Integer typeId;
  @ApiModelProperty(name = "status",notes = "状态",dataType = "Byte",required = false)
  private Byte status;
  @ApiModelProperty(name = "name",notes = "药品名",dataType = "String",required = false)
  private String name;
  @ApiModelProperty(name = "serialNumber",notes = "药品编号",dataType = "String",required = false)
  private String serialNumber;
  @ApiModelProperty(name = "serialNumber",notes = "药品编号",dataType = "String",required = false)
  private String responseName = "admin";
  @ApiModelProperty(name = "barCode",notes = "条形码",dataType = "String",required = false)
  private String barCode;
  @ApiModelProperty(name = "model",notes = "药品信号",dataType = "String",required = false)
  private String model;
  @ApiModelProperty(name = "unitName",notes = "单位名称",dataType = "String",required = false)
  private String unitName;
  @ApiModelProperty(name = "num",notes = "库存数量",dataType = "String",required = false)
  private Integer num;
  @ApiModelProperty(name = "tag",notes = "标签",dataType = "BigDecimal",required = false)
  private String tag;
  @ApiModelProperty(name = "costPrice",notes = "药品单价",dataType = "BigDecimal",required = false)
  private BigDecimal costPrice;
  @ApiModelProperty(name = "price",notes = "药品单价",dataType = "BigDecimal",required = false)
  private BigDecimal price;
  @ApiModelProperty(name = "num",notes = "库存数量",dataType = "BigDecimal",required = false)
  private BigDecimal salePrice;
  @ApiModelProperty(name = "providerId",notes = "供应商id",dataType = "Integer",required = false)
  private Integer providerId;

  @ApiModelProperty(name = "isSales",notes = "是否销售",dataType = "Byte",required = false)
  private Byte isSales;

  @ApiModelProperty(name = "img",notes = "药品图片",dataType = "String",required = false)
  private String img;
  @ApiModelProperty(name = "isDeleted",notes = "删除位",dataType = "Byte",required = false)
  private Byte isDeleted;



  @ApiModelProperty(name = "details",notes = "药品描述",dataType = "String",required = false)
  private String details;
  @ApiModelProperty(name = "createTime",notes = "创建时间",dataType = "java.sql.Timestamp",required = false)
  private java.sql.Timestamp createTime;
  @ApiModelProperty(name = "updateTime",notes = "更新时间",dataType = "java.sql.Timestamp",required = false)
  private java.sql.Timestamp updateTime;


}
